package com.ruoyi.finance.service;

import java.util.List;
import com.ruoyi.finance.domain.WInvoiceInfo;

import javax.servlet.http.HttpServletResponse;

/**
 * 进项发票Service接口
 * 
 * @author ruoyi
 * @date 2025-03-06
 */
public interface IWInvoiceInfoService 
{
    /**
     * 查询进项发票
     * 
     * @param id 进项发票主键
     * @return 进项发票
     */
    public WInvoiceInfo selectWInvoiceInfoById(Long id);

    /**
     * 查询进项发票列表
     * 
     * @param wInvoiceInfo 进项发票
     * @return 进项发票集合
     */
    public List<WInvoiceInfo> selectWInvoiceInfoList(WInvoiceInfo wInvoiceInfo);

    /**
     * 新增进项发票
     * 
     * @param wInvoiceInfo 进项发票
     * @return 结果
     */
    public int insertWInvoiceInfo(WInvoiceInfo wInvoiceInfo);

    /**
     * 修改进项发票
     * 
     * @param wInvoiceInfo 进项发票
     * @return 结果
     */
    public int updateWInvoiceInfo(WInvoiceInfo wInvoiceInfo);

    /**
     * 批量删除进项发票
     * 
     * @param ids 需要删除的进项发票主键集合
     * @return 结果
     */
    public int deleteWInvoiceInfoByIds(Long[] ids);

    /**
     * 删除进项发票信息
     * 
     * @param id 进项发票主键
     * @return 结果
     */
    public int deleteWInvoiceInfoById(Long id);

    public void export(HttpServletResponse response, WInvoiceInfo wInvoiceInfo);
}
